package com.example.demo.config.ben;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/*
 * @Author:大力王
 * @Date:2024/6/2-02-22:31
 * 开始了
 */
@Data
@Component
public class ImgUpload {
    /**
     * 本地文件上传文件夹
     */
    @Value("${shop.imgUpload.imagePath}")
    private String imagePath;

    /**
     * 文件上传方式 1.本地文件上传 2.七牛云
     */
    @Value("${shop.imgUpload.uploadType}")
    private Integer uploadType;

    /**
     * 网站url
     */
    @Value("${shop.imgUpload.resourceUrl}")
    private String resourceUrl;
}
